package com.xitang.common.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("biz_condition")
public class BizCondition extends Model<BizCondition> {
    private String conditionTagCode;
    private String conditionTagName;
    private String conditionCode;
    private String conditionName;
    private String conditionImg;
    private Integer status = 1;

    @Override
    protected Serializable pkVal() {
        return this.conditionTagCode + this.conditionCode;
    }
}
